<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" content="text/html; charset=UTF-8">
<meta name="baidu-site-verification" content="1FDaGbGUA1" />
<link rel="shortcut icon" href="__PUBLIC__/images/favicon.ico" type="image/x-icon">
<include file="public:include_Js_Css"/>
<title><?php echo HOME_TITLE;?></title>
</head>
<body>
<!--------导航开始------>
<nav class="navbar navbar-inverse navbar-fixed-top " role="navigation">
  <div class="container">
  <!-- Collect the nav links, forms, and other content for toggling -->
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
    <ul class="nav navbar-nav">
        <li class="<?php echo LOCA_ACTION_NAME == commonModel::$index ? "active" : '';?>"><a href="__URL__/../Index/index">首页</a></li>
        <li class="<?php echo LOCA_ACTION_NAME == commonModel::$info ? "active" : '';?>"><a href="__URL__/../Info/index">班级简介</a></li>
        <li class="<?php echo LOCA_ACTION_NAME == commonModel::$move ? "active" : '';?>"><a href="__URL__/../Move/index">班级动态</a></li>
        <?php if (UserModel::hasRules(UserModel::ADMIN_USER) ||
                    UserModel::hasRules(UserModel::MANAGER_USER)) { ?>
            <li class="<?php echo LOCA_ACTION_NAME == commonModel::$photo ? "active" : '';?>">
                <a href="../Photo/index">班级相册</a>
            </li>
        <?php } ?>
        <li class="<?php echo LOCA_ACTION_NAME == commonModel::$message ? "active" : '';?>"><a href="__URL__/../Message/index">班级留言</a></li>
        <li class="<?php echo LOCA_ACTION_NAME == commonModel::$article ? "active" : '';?>"><a href="__URL__/../Article/index">班级文章</a></li>
        <li class="<?php echo LOCA_ACTION_NAME == commonModel::$map ? "active" : '';?>"><a href="__URL__/../index">地图浏览</a></li>
        <if condition="(session('u_type') eq commonModel::$isSuperType)">
            <li class="<?php echo LOCA_ACTION_NAME ==  commonModel::$management ? "active" : '';?>">
                <a href="__URL__/../Management/index">用户管理</a>
            </li>
            <li class="<?php echo LOCA_ACTION_NAME ==  commonModel::$group ? "active" : '';?>">
                <a href="__URL__/../Group/index">用户分组</a>
            </li>
            <li class="<?php echo LOCA_ACTION_NAME ==  commonModel::$email ? "active" : '';?>">
                <a href="__URL__/../Email/index">发送邮件</a>
            </li>
            <li class="<?php echo LOCA_ACTION_NAME ==  commonModel::$home ? "active" : '';?>">
                <a href="__URL__/../Home/index">主页</a>
            </li>
        </if>
    </ul>
    <ul class="nav navbar-nav navbar-right">
        <li class="dropdown <?php echo LOCA_ACTION_NAME == commonModel::$user ? "active" : '';?>">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <if condition="session(SESSION_ISLOGIN)">
                欢迎您 : {{:session('u_name')}}
            <else />
                请您登录
            </if>
            <b class="caret"></b></a>
            <if condition="session(SESSION_ISLOGIN)">
                <ul class="dropdown-menu">
                    <li ><a href="__URL__/../User/userInfo">用户信息</a></li>
                    <li ><a href="__URL__/../User/changePassword">修改密码</a></li>
                    <li class='divider'></li>
                    <li><a href="__URL__/../Login/logout">退出</a></li>
                </ul>
            <else />
                <ul class="dropdown-menu">
                <li><a href="__URL__/../Login/login">登录</a></li>
            </ul>
            </if>
      	</li>
    </ul>
  </div><!-- /.navbar-collapse -->
  </div>
</nav>
<!--------导航结束------>

<!--------轮播开始------>
<!-- <div class="bs-header" id="content" >
    <div class="container">
        <h1>10级网络技术班级</h1>
        <p id="clickLike" data-toggle="modal" data-target="#myModal">
            <?php echo isset($_SESSION['u_mingyan']) && empty($_SESSION['u_mingyan']) ? '回味大学美好时光，让青春继续... ...' : $_SESSION['u_mingyan'];?>
        </p>
    </div>
</div> -->
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title" id="myModalLabel">座右铭</h4>
      </div>
      <div class="modal-body">
        <?php echo isset($_SESSION['u_mingyan']) && empty($_SESSION['u_mingyan']) ? '回味大学美好时光，让青春继续... ...' : $_SESSION['u_mingyan'];?>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary">保存</button>
      </div>
    </div>
  </div>
</div>
<!--------轮播结束------>
</body>
<script type="text/javascript">
    $("#clickLike").css("cursor", "pointer");
</script>
</html>